﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmSistemaPersonal.aspx.vb" Inherits="Interfaz_frmSistemaPersonal" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center>
    <table style="width: 933px; border-bottom: mediumblue thin double; background-color: white;">
        <tr>
            <td style="width: 180px; height: 75px">
                <asp:Image ID="ImagePersonal" runat="server" Height="128px" Width="112px" /></td>
            <td style="height: 75px">
                <table style="width: 100%">
                    <tr>
                        <td style="text-align: left; height: 23px;">
                            Bienvenido Don &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;: &nbsp;
                            <asp:Label ID="LblNombre" runat="server" Width="152px"></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="text-align: left">
                            Solicitudes Pendientes&nbsp; : &nbsp;
                            <asp:Label ID="LblSolicitudes" runat="server" Width="128px"></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="text-align: left">
                            Mensajes Pendientes&nbsp; :
                            <asp:Label ID="LabelMensajesPendientes" runat="server"></asp:Label></td>
                    </tr>
                </table>
            </td>
            <td style="height: 75px">
            </td>
        </tr>
        <tr>
            <td style="width: 180px">
            </td>
            <td>
                <asp:GridView ID="GridPersonal" runat="server" AutoGenerateColumns="False" AutoGenerateDeleteButton="True"
                    AutoGenerateEditButton="True" CellPadding="4" ForeColor="#333333" GridLines="None"
                    OnRowCancelingEdit="GridPersonal_RowCancelingEdit" OnRowDeleting="GridPersonal_RowDeleting"
                    OnRowEditing="GridPersonal_RowEditing" OnRowUpdating="GridPersonal_RowUpdating"
                    Width="760px">
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:BoundField DataField="ID" HeaderText="ID">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="FECHA" HeaderText="Fecha">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="SOLICITANTE" HeaderText="Solicitante">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DETALLE" HeaderText="Detalle">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CENTCOSTO" HeaderText="Centro de costo">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ITEM" HeaderText="Item" />
                        <asp:BoundField DataField="CANTIDAD" HeaderText="Cantidad" />
                        <asp:TemplateField HeaderText="Aprueba">
                            <ItemTemplate>
                                <asp:CheckBox ID="itemSelector" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Rechaza">
                            <ItemTemplate>
                                <asp:CheckBox ID="itemSelectorRe" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 180px; height: 49px;">
            </td>
            <td style="height: 49px">
                <table style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                    width: 100%; border-bottom: blue thin solid; position: static">
                    <tr>
                        <td style="text-align: center">
                <asp:Button ID="BtnAprobar" runat="server" Text="Aceptar" Visible="False" /></td>
                    </tr>
                </table>
            </td>
            <td style="height: 49px">
            </td>
        </tr>
        <tr>
            <td style="width: 180px">
            </td>
            <td>
            <center>
                <asp:GridView ID="GridMsj" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None"
                    Width="760px">
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:BoundField DataField="ID" HeaderText="ID" />
                        <asp:BoundField DataField="FECHA" HeaderText="Fecha" />
                        <asp:BoundField DataField="ASUNTO" HeaderText="Asunto">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PRIORIDAD" HeaderText="Prioridad">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="MENSAJE" HeaderText="Mensaje">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="REMITENTE" HeaderText="Remitente" />
                        <asp:TemplateField HeaderText="Marcar como leido">
                            <ItemTemplate>
                                <asp:CheckBox ID="itemSelectorMarcar" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Borrar">
                            <ItemTemplate>
                                <asp:CheckBox ID="itemSelectorBorrar" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                </center>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 180px">
            </td>
            <td style="text-align: center">
                <asp:Button ID="BtnAccion" runat="server" Text="Accion" Visible="False" /></td>
            <td>
            </td>
        </tr>
    </table>
    
</center>    
</asp:Content>

